// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

// 引入视频播放插件
import Video from 'video.js'
import 'video.js/dist/video-js.css'

// 引入sore
import store from './store/index'

Vue.prototype.$video = Video

import VueVideoPlayer from 'vue-video-player'
import 'video.js/dist/video-js.css'

Vue.use(VueVideoPlayer)

Vue.config.productionTip = false

// 引入element UI 组件
Vue.use(ElementUI)

/* eslint-disable no-new */
new Vue({
    el: '#app',
    router,
    // 在vue实例全局引入store对象
    store,
    components: { App },
    template: '<App/>'
})